#ifndef SQLPARSER_PREPARE_STATEMENT_H
#define SQLPARSER_PREPARE_STATEMENT_H

#include "SQLStatement.h"

namespace hsql {

	// Represents SQL Prepare statements.
	// Example: PREPARE test FROM 'SELECT * FROM test WHERE a = ?;'
	struct PrepareStatement : SQLStatement {
		PrepareStatement();
		virtual ~PrepareStatement();
		virtual std::string execute(std::string username = "default");

		char* name;

		// The query that is supposed to be prepared.
		char* query;
	};

} // namsepace hsql

#endif
